#include "dinput.h"

class Input
{
private:
	char _keys[256];
	char _oldKeys[256];
	LPDIRECTINPUT8 _directInput;
	LPDIRECTINPUTDEVICE8 _keyBoard;
public:
	Input();
	~Input();
	bool Init_DirectInput(HINSTANCE,HWND);
	bool Init_Keyboard(HWND);
	void Pool_Keyboard();
	int OnKeyDown(int);
	int OnKeyPress(int);
	int OnKeyUp(int);
	void ReAcquire();
};